// 设备相关API
import request from '@/utils/request'

// 获取所有节点数据
export const GetAllNodeData = () => {
  return request({
    url: '/api/Device/GetAllNodeData',
    method: 'post'
  })
}

// 获取节点配置详情
export const NodeDataDetail = (data) => {
  return request({
    url: '/api/Device/NodeDataDetail',
    method: 'post',
    data
  })
}

// 写入指定节点数据
export const SetNodeData = (data) => {
  return request({
    url: '/api/Device/SetNodeData',
    method: 'post',
    data
  })
}

// 获取全部设备运行状态
export const AllDeviceStatusData = () => {
  return request({
    url: '/api/Device/AllDeviceStatusData',
    method: 'post'
  })
}

// 获取AGV小车状态详情
export const GetAutoGuideVehicleStatus = () => {
  return request({
    url: '/api/Device/GetAutoGuideVehicleStatus',
    method: 'post'
  })
}

// 获取球磨机状态详情
export const GetBallMillingStationStatus = () => {
  return request({
    url: '/api/Device/GetBallMillingStationStatus',
    method: 'post'
  })
}

// 获取管式炉状态详情
export const GetTubeFurnaceStationStatus = () => {
  return request({
    url: '/api/Device/GetTubeFurnaceStationStatus',
    method: 'post'
  })
}

// 获取下装炉状态详情
export const GetBottomFurnaceStationStatus = () => {
  return request({
    url: '/api/Device/GetBottomFurnaceStationStatus',
    method: 'post'
  })
}

// 获取反应釜开盖机状态详情
export const GetCapperStationStatus = () => {
  return request({
    url: '/api/Device/GetCapperStationStatus',
    method: 'post'
  })
}

// 获取坩埚转换位状态详情
export const GetCrucibleConversionStationStatus = () => {
  return request({
    url: '/api/Device/GetCrucibleConversionStationStatus',
    method: 'post'
  })
}

// 获取破碎机状态详情
export const GetCrusherStationStatus = () => {
  return request({
    url: '/api/Device/GetCrusherStationStatus',
    method: 'post'
  })
}

// 获取电化学测试仪状态详情
export const GetElectroChemistryTestingStationStatus = () => {
  return request({
    url: '/api/Device/GetElectroChemistryTestingStationStatus',
    method: 'post'
  })
}

// 获取高通量配粉设备状态详情
export const GetFlourBlendingStationStatus = () => {
  return request({
    url: '/api/Device/GetFlourBlendingStationStatus',
    method: 'post'
  })
}

// 获取ROBOT机器人状态详情
export const GetJakaRobotStatus = () => {
  return request({
    url: '/api/Device/GetJakaRobotStatus',
    method: 'post'
  })
}

// 获取磁力搅拌捏片蠕动设备状态详情
export const GetMagneticPeristalticOthersStationStatus = () => {
  return request({
    url: '/api/Device/GetMagneticPeristalticOthersStationStatus',
    method: 'post'
  })
}

// 获取烘箱设备状态详情
export const GetOvenStationStatus = () => {
  return request({
    url: '/api/Device/GetOvenStationStatus',
    method: 'post'
  })
}

// 获取封装机状态详情
export const GetPackagingStationStatus = () => {
  return request({
    url: '/api/Device/GetPackagingStationStatus',
    method: 'post'
  })
}

// 获取压片机状态详情
export const GetTabletPressStationStatus = () => {
  return request({
    url: '/api/Device/GetTabletPressStationStatus',
    method: 'post'
  })
}

// 获取移液配比设备状态详情
export const GetPipetteDistributionStationStatus = () => {
  return request({
    url: '/api/Device/GetPipetteDistributionStationStatus',
    method: 'post'
  })
}

// 获取刷料机设备状态详情
export const GetScrapingStationStatus = () => {
  return request({
    url: '/api/Device/GetScrapingStationStatus',
    method: 'post'
  })
}

// 获取固液测试设备状态详情
export const GetSolidLiquidTestingStationStatus = () => {
  return request({
    url: '/api/Device/GetSolidLiquidTestingStationStatus',
    method: 'post'
  })
}

// 获取固固测试设备状态详情
export const GetSolidSolidTestingStationStatus = () => {
  return request({
    url: '/api/Device/GetSolidSolidTestingStationStatus',
    method: 'post'
  })
}

// 获取XRD测试设备状态详情
export const GetXRDTestingStationStatus = () => {
  return request({
    url: '/api/Device/GetXRDTestingStationStatus',
    method: 'post'
  })
}
